import {Goods} from '@element-plus/icons-vue';
export default [
    {
        path:"/goods",
        name:"goods",
        title:"商品管理",
        icon:Goods,
        //设置包含二级菜单的一级菜单
        isSub:true,
        redirect:{
            path:"/goods/list"
        },
        children:[
            {
                path:"/goods/list",
                name:"goodsList",
                title:"商品管理",
                //需要进行路由跳转的菜单
                isItem:true,
                component:()=>import("@/views/goods/GoodsList.vue")
            },
            {
                path:"/goods/type",
                name:"goodsType",
                title:"类型管理",
                isItem:true,
                component:()=>import("@/views/goods/GoodsTypeList.vue")
            },
        ]
    }
]